package com.gimi.cloud.jimi.entity.userInfo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gimi.cloud.jimi.entity.base.BaseTable;

/**
 * 用户详细信息实体类
 * @author chendi
 * @date 2017年12月27日
 */
@Table(name="rd_user_info")
public class RdUserInfoEntity extends BaseTable{
	private static final long serialVersionUID = 1L;
	/**
     * 主键
     */
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "info_id")
	private Integer infoId;
	
	@Column(name = "user_id")
	private Integer userId;
	
	@Column(name = "nick")
	private String nick;
	
	@Column(name = "sex")
	private Integer sex;
	
	@Column(name = "photo")
	private String photo;
	
	@Column(name = "real_name")
	private String realName;
	
	@Column(name = "email")
	private String email;
	
	@Column(name = "mobile_phone")
	private String mobilePhone;
	
	@Column(name = "nationality")
	private String nationality;
	
	@Column(name = "birthday")
	private Integer birthday;
	
	@Column(name = "address")
	private String address;
	
	@Column(name = "police")
	private String police;
	
	@Column(name = "valid_date")
	private String validDate;
	
	@Column(name = "avatar")
	private String avatar;
	
	@Column(name = "card_id")
	private String cardId;
	
	@Column(name = "home_address")
	private String homeAddress;
	
	@Column(name = "card_front")
	private String cardFront;
	
	@Column(name = "card_back")
	private String cardBack;
	
	@Column(name = "card_hand")
	private String cardHand;
	
	@Column(name = "student_card")
	private String studentCard;
	
	@Column(name = "report_effection_begin")
	private Date reportEffectionBegin;
	
	@Column(name = "report_effection_end")
	private Date reportEffectionEnd;

	public Integer getInfoId() {
		return infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public Integer getBirthday() {
		return birthday;
	}

	public void setBirthday(Integer birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPolice() {
		return police;
	}

	public void setPolice(String police) {
		this.police = police;
	}

	public String getValidDate() {
		return validDate;
	}

	public void setValidDate(String validDate) {
		this.validDate = validDate;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getHomeAddress() {
		return homeAddress;
	}

	public void setHomeAddress(String homeAddress) {
		this.homeAddress = homeAddress;
	}

	public String getCardFront() {
		return cardFront;
	}

	public void setCardFront(String cardFront) {
		this.cardFront = cardFront;
	}

	public String getCardBack() {
		return cardBack;
	}

	public void setCardBack(String cardBack) {
		this.cardBack = cardBack;
	}

	public String getCardHand() {
		return cardHand;
	}

	public void setCardHand(String cardHand) {
		this.cardHand = cardHand;
	}

	public String getStudentCard() {
		return studentCard;
	}

	public void setStudentCard(String studentCard) {
		this.studentCard = studentCard;
	}

	public Date getReportEffectionBegin() {
		return reportEffectionBegin;
	}

	public void setReportEffectionBegin(Date reportEffectionBegin) {
		this.reportEffectionBegin = reportEffectionBegin;
	}

	public Date getReportEffectionEnd() {
		return reportEffectionEnd;
	}

	public void setReportEffectionEnd(Date reportEffectionEnd) {
		this.reportEffectionEnd = reportEffectionEnd;
	}

	
}
